package com.dcw.lixb.designmode.bridge;

/**
 * @author lixiaobin
 * @date 2020-07-21 14:46:10
 * @desc 描述信息
 */
public class Circle extends Shape {
    private int x,y,radius;

    protected Circle(int x, int y, int radius, DrawAPI drawAPI) {
        super(drawAPI);
        this.x = x;
        this.y = y;
        this.radius = radius;
    }

    @Override
    public void draw() {
        mDrawAPI.drawCircle(radius,x,y);
    }
}
